package com.hm.search.service;
import com.hm.search.pojo.ItemDoc;
import com.hm.search.pojo.RequestParams;
import com.hmall.common.dto.PageDTO;
import java.util.List;
import java.util.Map;

public interface SearchService {
     List<String> getSuggestions(String prefix) ;

     Map<String, List<String>> getFilters(RequestParams params);

     PageDTO<ItemDoc> list(RequestParams requestParam);

     void insert(Long id);

     void delete(Long id);
}
